<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <f:view>

        <h:head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>Welcome #{sessionScope.username}</title>
            <link type="text/css" rel="stylesheet" href="THEME/skin.css"/>

        </h:head>


        <h:body>

            <center>

                <p:panel closable="false" header="#{sessionScope.username}, Seleccione su tipo de Orden!" style="width: 500px;height: 250px">


                    <h:form>

                        <h:panelGrid columns="3">

                            <h:graphicImage value="images/delivery.png" width="150" height="150" />

                            <h:graphicImage value="images/pickup.png" width="150" height="150"/>

                            <h:graphicImage value="images/eatthere.png" width="150" height="150"/>

                            <p:commandButton action="#{SelectYourOrderManagedBean.goToSoloOrdering}" value="to Delivery" style="width: 150px" ajax="false"/>

                            <p:commandButton action="#{SelectYourOrderManagedBean.goToGroupOrdering}" value="to Pickup" style="width: 150px" ajax="false"/>

                            <p:commandButton action="#{SelectYourOrderManagedBean.goToGroupOrdering}" value="to Eat Here" style="width: 150px" ajax="false"/>

                        </h:panelGrid>

                    </h:form>



                </p:panel>

            </center>

        </h:body>

    </f:view>
</html>
